package com.libinshen.wxpay.videoAliBaBa.entity.easyExcel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 讲师
 * </p>
 *
 * @author Helen
 * @since 2020-04-01
 */
@Data
@TableName("t_teacher")
public class TeacherEasyExcel {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ExcelProperty(value = "讲师姓名")
    private String name;

    @ExcelProperty("讲师简介")
    private String intro;

    @ExcelProperty("讲师资历")
    private String career;

    @ExcelProperty("头衔")
    private Integer level;

    @ExcelProperty("讲师头像")
    private String avatar;

    @ExcelProperty(value = "排序")
    private Integer sort;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @ExcelProperty("入驻时间")
    private Date joinDate;

    @ExcelProperty(value = "逻辑删除")
    private Integer deleted;

    @ExcelProperty(value = "创建时间")
    private String createTime;

    @ExcelProperty(value = "更新时间")
    private String updateTime;

    @ExcelProperty(value = "逻辑删除")
    private String isDeleted;
}
